package Test;

import static org.junit.jupiter.api.Assertions.*;

import org.junit.jupiter.api.Test;

import com.dang.alex.dao.DAOFactory;
import com.dang.alex.model.Book;

class TestProductDAO {

	@Test
	void test() throws Exception {
		Book book=DAOFactory.getProductDAO().findById(2);
		System.out.println(book.getProductName()+"-------\n"+book.getDescription());
	}

}
